Skip to content

Conversation

lbernstone
Copy link
Contributor

Checks to see if a string is a key in the namespace. Fixes #4440

@me-no-dev
Copy link
Member

you know what I'm thinking? :D Since you have that whole if tree, maybe change that function to return item type (enum) and then implement isKey again, by checking if the returned type is valid.

What do you think?

@lbernstone
Copy link
Contributor Author

lbernstone commented Nov 2, 2020

Can you give me an example of what you want the elements to look like? Save some back and forth...

@me-no-dev
Copy link
Member

your branch is writable, I'll just do it :)

@me-no-dev
Copy link
Member

done :)

@me-no-dev me-no-dev merged commit e2452c0 into espressif:master Nov 3, 2020
@lbernstone lbernstone deleted the Prefs_isKey branch November 4, 2020 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request. In Preferences library expose ability to check if a key exists already
3 participants